/**
 * 
 */
package com.feib.soeasy.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Jimmy Liu
 *
 */
public class DefaultConfigUtil 
{
	private static int PAGE_SIZE = 10;
	private static Map<String, Integer> PAGE_OPTIONS;
	static
	{
		PAGE_OPTIONS = new HashMap<String, Integer>();
		PAGE_OPTIONS.put("10", new Integer(10));
		PAGE_OPTIONS.put("20", new Integer(20));
		PAGE_OPTIONS.put("50", new Integer(50));
		PAGE_OPTIONS.put("100", new Integer(100));
	}
	
	public static int getPageSize()
	{
		return PAGE_SIZE;
	}
	
	public static Map<String, Integer> getPageOptions()
	{
		return PAGE_OPTIONS;
	}
}
